How to get the name of the executed controller in $app->after
<?php 
class Micro extends \Phalcon\Mvc\Micro
{
  public function init()
  {
    $this->after(function() {
      // print the name of the executed controller here
    });
  }
}
How to get the name of the executed controller in $app->after
<?php 
class Micro extends \Phalcon\Mvc\Micro
{
  public function init()
  {
    $this->after(function() {
      // print the name of the executed controller here
    });
  }
}